package com.vilen.learn.java7.V3_1;



import java.util.ArrayList;
import java.util.List;

public class SpreadsheetAgentFinder implements AgentFinder{

    /** The type of spreadsheet we are dealing with */
    private String type;

    /** The location of the spreadsheet */
    private String path;

    @Override
    public List<Agent> findAllAgents() {
        List<Agent> agents = new ArrayList<>();
        // Lots of POI based implementation would go here
        return agents;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
